package timu1;

public class Manager extends Employee {
    private String Clerk;



    public Manager() {
    }

    public Manager(String clerk) {
        Clerk = clerk;
    }

    public Manager(String name, String workId, String dept, String clerk) {
        super(name, workId, dept);
        Clerk = clerk;
    }

    public String getClerk() {
        return Clerk;
    }

    public void setClerk(String clerk) {
        Clerk = clerk;

    }
    public void showMsg() {
        System.out.println(getDept()+"的："+getName()+"，员工编号："+getWorkId()+"\n"+"他的职员是"+getClerk());
    }

    }


